<% content_for :navlinks do %>
<%= link_to :back.l, event_url(@event) %>
<% end %>

<% form_for :event, :url => url, :html => {:method => method} do |f| %>
<% form_block do %>

<% fbrow "event_name", :event_name.l do %>
<%= f.text_field :name %>
<% end %>

<% fbrow "event_description", :event_description.l do %>
<%= f.text_area :description %>
<% end %>

<% fbrow "event_required_volunteers", :event_required_volunteers.l do %>
<%= f.text_field :required_volunteers %>
<% end %>

<% fbrow "event_address", :event_address.l do %>
<%= f.text_area :address %>
<% end %>

<% fbrow "event_post_code", :event_post_code.l do %>
<%= f.text_field :post_code %>
<% end %>

<% fbrow "event_map_coordinates", :event_map_coordinates.l do %>
<%= f.text_field :map_coordinates %>
<% end %>

<% fbrow "event_contact_name", :event_contact_name.l do %>
<%= f.text_field :contact_name %>
<% end %>

<% fbrow "event_contact_phone", :event_contact_phone.l do %>
<%= f.text_field :contact_phone %>
<% end %>

<% fbrow "event_contact_email", :event_contact_email.l do %>
<%= f.text_field :contact_email %>
<% end %>

<% fbrow "event_start_date", :event_start_date.l do %>
<div class="date_select"><%= f.date_select :start_date %></div>
<% end %>

<% fbrow "event_end_date", :event_end_date.l do %>
<div class="date_select"><%= f.date_select :end_date %></div>
<% end %>

<% fbrow do %>
<%= submit_tag submit_label %>
<% end %>

<% end ; end %>